package com.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @huangtao shkstart
 * @huangtao 2022/12/25
 * @huangtao 23:08
 */
@RestController
@RequestMapping("/hello")
public class demoController {

    @GetMapping
    public String test(){
        System.out.println("hello world");
        return "hello world !";
    }
}
